package com.compass.mapper;

import com.compass.entity.Project;
import com.compass.entity.ProjectMemberDo;
import com.compass.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: li
 * Date: 2019/3/31
 * Time: 17:01
 * PROJECT：compass
 * PACKAGE: com.compass
 *
 * @author:55324936@qq.com To change this template use File | Settings | File Templates.
 */
@Mapper
public interface ProjectMapper {

    public int addProject(Project project);

    public int addProjectMember(ProjectMemberDo projectMemberDo);

    public List<Project> getProjectList(Integer userId);

    public List<User> getProjectMemberList(ProjectMemberDo projectMemberDo);

    public void deleteProjectMember(ProjectMemberDo projectMemberDo);

}
